package com.vend.main.home

import android.os.Bundle
import com.alibaba.android.arouter.launcher.ARouter
import com.vend.common.base.BaseActivity
import com.vend.common.constant.RouterConstant
import com.vend.common.mvp.IPresenter
import com.vend.main.R
import kotlinx.android.synthetic.main.fragment_main_home.*

/**
 * Created by glendal on 2022/01/25.
 */
class SecondActivity: BaseActivity<IPresenter>() {
    override fun getContentLayoutId(): Int {
        return R.layout.fragment_main_home
    }

    override fun initView(savedInstanceState: Bundle?) {
        tv_home_self.setOnClickListener {
            ARouter.getInstance().build(RouterConstant.MAIN_HOME).navigation()
        }
    }
}